package com.ruoyi.db.ums.domain.query;

import com.ruoyi.framework.web.domain.BaseQueryVo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 收货地址查询对象 ums_address
 *
 * @author ruoyi
 * @date 2020-04-22
 */
@ApiModel("收货地址查询信息封装类")
@Data
@EqualsAndHashCode(callSuper=true)
public class  UmsAddressQueryVo extends BaseQueryVo
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户收货地址ID")
    private Long id;

    @ApiModelProperty("收货人名称")
    private String name;

    @ApiModelProperty("用户表的用户ID")
    private Long userId;

    @ApiModelProperty("行政区域表的省ID")
    private String province;

    @ApiModelProperty("行政区域表的市ID")
    private String city;

    @ApiModelProperty("行政区域表的区县ID")
    private String county;

    @ApiModelProperty("详细收货地址")
    private String addressDetail;

    @ApiModelProperty("地区编码")
    private String areaCode;

    @ApiModelProperty("邮政编码")
    private String postalCode;

    @ApiModelProperty("手机号码")
    private String tel;

    @ApiModelProperty("是否默认地址")
    private Integer isDefault;

    @ApiModelProperty("创建时间")
    private Date addTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;
}
